<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <meta name="viewport" content="width=device-width" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />

    <title>浙江移动网格通 下载客户端</title>
  </head>

  <body>
    <script type="text/javascript">
      var sUserAgent = navigator.userAgent.toLowerCase();
      var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
      var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
      var bIsAndroid = sUserAgent.match(/android/i) == "android";
      const bIsHarmony =
        /HarmonyOS|OpenHarmony/i.test(sUserAgent) && !window.MSStream;
        
      if (bIsAndroid) {
          window.location.href=window.location.href.replace('downloadpage.html','androiddownload.html');

      } else if (bIsIphoneOs || bIsIpad) {
          window.location.href=window.location.href.replace('downloadpage.html','iosdownload.html');

      } else if (bIsHarmony) {
          window.location.href=window.location.href.replace('downloadpage.html','harmonydownload.html');

      } else {
          window.location.href=window.location.href.replace('downloadpage.html','androiddownload.html');
      }
    </script>
  </body>
</html>